package com.ruoyi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class RuoYiApplication
{
    public static void main(String[] args) {
        SpringApplication.run(RuoYiApplication.class, args);

        System.out.println("\n" +
                "  ███████╗██████╗ ██████╗     ██╗    ██╗███╗   ███╗███████╗\n" +
                "  ██╔════╝██╔══██╗██╔══██╗    ██║    ██║████╗ ████║██╔════╝\n" +
                "  █████╗  ██████╔╝██║  ██║    ██║ █╗ ██║██╔████╔██║███████╗\n" +
                "  ██╔══╝  ██╔═══╝ ██║  ██║    ██║███╗██║██║╚██╔╝██║╚════██║\n" +
                "  ███████╗██║     ██████╔╝    ╚███╔███╔╝██║ ╚═╝ ██║███████║\n" +
                "  ╚══════╝╚═╝     ╚═════╝      ╚══╝╚══╝ ╚═╝     ╚═╝╚══════╝\n" +
                "                                                            \n" +
                "  ┌──────────────────────────────────────────────────────┐\n" +
                "  │                                                    │\n" +
                "  │             (♥◠‿◠)ﾉﾞ  启动成功  ლ(´ڡ`ლ)ﾞ          │\n" +
                "  │                                                    │\n" +
                "  │        基于 RuoYi 的智能仓储管理系统           │\n" +
                "  │                                                    │\n" +
                "  └──────────────────────────────────────────────────────┘\n" +
                "  版本: 2.0.0 | 启动时间: " + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()) + "\n");
    }

}
